﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="EDP.WebForm.school.student.edit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager" AutoSizePanelID="form" runat="server" />
        <f:SimpleForm ID="form" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="10"
            AutoScroll="false" Margin="0" LabelWidth="70" ValidateRequestMode="Enabled" Layout="Column">
            <Items>
                <f:TextBox ID="TextBox1" runat="server" Label="编号" BindName="Number" Margin="0 0 10 0" ColumnWidth="50%" Readonly="true"/> <%--BindName为绑定的业务对象的属性名称--%>
                <f:TextBox ID="TextBox2" runat="server" Label="姓名" BindName="Name" Margin="0 0 10 10" ColumnWidth="50%"  ShowRedStar="true" />
                <f:RadioButtonList ID="RadioButtonList1" runat="server" Label="性别" BindName="GenderId" Margin="0 0 10 0" ColumnWidth="50%"  ShowRedStar="true">
                    <f:RadioItem Value="1" Text="男" />
                    <f:RadioItem Value="2" Text="女" />
                </f:RadioButtonList>
                <f:NumberBox ID="NumberBox1" runat="server" Label="年龄" BindName="Age" Margin="0 0 10 10" ColumnWidth="50%" ShowRedStar="true" NoDecimal="true" NoNegative="true" MinValue="6" MaxValue="20" />
                <f:TextBox ID="TextBox3" runat="server" Label="联系人" BindName="Contact" Margin="0 0 10 0" ColumnWidth="50%" />
                <f:TextBox ID="TextBox4" runat="server" Label="联系人手机" BindName="ContactMobile" Margin="0 0 10 10" ColumnWidth="50%"  />
                <f:DropDownList ID="dll_class" runat="server" Label="班级" BindName="ClassId" Margin="0 0 10 0" ColumnWidth="50%" ShowRedStar="true" EnableSimulateTree="true" />
                <f:CheckBoxList ID="CheckBoxList1" runat="server" Label="兴趣爱好" BindName="Hobby" Margin="0 0 10 10" ColumnWidth="50%" ColumnNumber="4">
                    <f:CheckItem Text="足球" Value="足球" />
                    <f:CheckItem Text="篮球" Value="篮球" />
                    <f:CheckItem Text="音乐" Value="音乐" />
                    <f:CheckItem Text="绘画" Value="绘画" />
                    <f:CheckItem Text="唱歌" Value="唱歌" />
                    <f:CheckItem Text="跳舞" Value="跳舞" />
                    <f:CheckItem Text="书法" Value="书法" />
                    <f:CheckItem Text="阅读" Value="阅读" />
                    <f:CheckItem Text="旅游" Value="旅游" />
                </f:CheckBoxList>
                <f:TextArea ID="TextArea1" runat="server" Label="备注" BindName="Remarks" Margin="10 0 0 0" ColumnWidth="100%" Height="205" />
            </Items>
            <Toolbars>
                <f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        <f:Button ID="btn_save" runat="server" Text=" 保 存 " Icon="Disk" Margin="0 10 0 0" OnClick="btn_save_Click" />
                        <%--是否启用权限,默认值为true,只有启用权限的在功能管理中才会获取到该元素--%>
                        <f:Button ID="btn_close" runat="server" Text=" 关 闭 " Icon="Cross" Margin="0 10 0 0" EnablePostBack="false" EnablePermission="false" />
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:SimpleForm>
    </form>
</body>
</html>
